import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/SystemSet/sitelinkList',
    method: 'get',
    params,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/SystemSet/sitelinkEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/SystemSet/sitelinkDelete',
    method: 'post',
    data,
  })
}

// 首页消息
export function getHomeList(data: any) {
  return request({
    url: '/Notice/getHomeList',
    method: 'post',
    data,
  })
}
// 已读
export function Read(data: any) {
  return request({
    url: '/Notice/Read',
    method: 'post',
    data,
  })
}
